<template>
	<view>
		<uni-nav-bar @clickLeft="$router.go(-1)" left-icon="left" left-text="返回" title="聊天详情" class="size"></uni-nav-bar>
		<view class="head">
			<view class="heardes">
				<view class="img">
					<image src="/pages/business/static/img/images/baoziu_jilu.jpg" mode=""></image>
				</view>
				<view class="text">
					设计师AAA猪饲料批发袁总
				</view>
			</view>
		</view>
		<view class="bao">
			<view class="contents">
				<view class="top">
					<view class="sky">置顶聊天</view>
					<switch @change="switch2Change" />
				</view>
			</view>
			<view class="contents">
				<view class="top">
					<view class="sky">消息免打扰</view>
					<switch @change="switch2Change" />
				</view>
			</view>
			<view class="contents">
				<view class="top">
					<view class="sky">屏蔽拉黑</view>
					<switch @change="switch2Change" />
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			 switch1Change: function (e) {
			            console.log('switch1 发生 change 事件，携带值为', e.detail.value)
			        },
			        switch2Change: function (e) {
			            console.log('switch2 发生 change 事件，携带值为', e.detail.value)
			        }
		}
	}
</script>

<style lang="less">
@import url("../static/css/details.less");
</style>